<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CIpcServer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-static-methods">静态 Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_c_ipc_server-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CIpcServer类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a>&gt;</code></p>
<div class="dynheader">
类 CIpcServer 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_ipc_server.png" usemap="#CIpcServer_map" alt=""/>
  <map id="CIpcServer_map" name="CIpcServer_map">
<area href="class_c_ipc_base.html" title="进程间通信基类" alt="CIpcBase" shape="rect" coords="0,56,96,80"/>
<area href="class_c_basic_service.html" title="服务类 基类" alt="CBasicService" shape="rect" coords="0,0,96,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a887afeb1b4f43370624778e353cd6334"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a887afeb1b4f43370624778e353cd6334">CIpcServer</a> (bool isWriteLog)</td></tr>
<tr class="separator:a887afeb1b4f43370624778e353cd6334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ea46a0c695def5670ba92c0cd5ceea3"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a8ea46a0c695def5670ba92c0cd5ceea3">~CIpcServer</a> ()</td></tr>
<tr class="separator:a8ea46a0c695def5670ba92c0cd5ceea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98dd72100abc97f8c8ae5f4641e18587"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_c_sock_error.html">CSockError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a98dd72100abc97f8c8ae5f4641e18587">Init</a> (const char *name)</td></tr>
<tr class="memdesc:a98dd72100abc97f8c8ae5f4641e18587"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化服务器  <a href="class_c_ipc_server.html#a98dd72100abc97f8c8ae5f4641e18587">更多...</a><br /></td></tr>
<tr class="separator:a98dd72100abc97f8c8ae5f4641e18587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6efd34ab8eecc267c0ab2b0317091efd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a6efd34ab8eecc267c0ab2b0317091efd">AsyncAccept</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;cliSock, const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;func, void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</td></tr>
<tr class="memdesc:a6efd34ab8eecc267c0ab2b0317091efd"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个接收连接请求  <a href="class_c_ipc_server.html#a6efd34ab8eecc267c0ab2b0317091efd">更多...</a><br /></td></tr>
<tr class="separator:a6efd34ab8eecc267c0ab2b0317091efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3190c4366dd9367b2c77d180ec1bf6c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#ab3190c4366dd9367b2c77d180ec1bf6c">AsyncRead</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;func, void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</td></tr>
<tr class="memdesc:ab3190c4366dd9367b2c77d180ec1bf6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个接收请求  <a href="class_c_ipc_server.html#ab3190c4366dd9367b2c77d180ec1bf6c">更多...</a><br /></td></tr>
<tr class="separator:ab3190c4366dd9367b2c77d180ec1bf6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac995cd72b148708616041968363efb12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#ac995cd72b148708616041968363efb12">AsyncSend</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;buff, const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;func, void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</td></tr>
<tr class="memdesc:ac995cd72b148708616041968363efb12"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个写请求  <a href="class_c_ipc_server.html#ac995cd72b148708616041968363efb12">更多...</a><br /></td></tr>
<tr class="separator:ac995cd72b148708616041968363efb12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88248174bc0338fdc4c942e4e715a539"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a88248174bc0338fdc4c942e4e715a539">Post</a> (const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;func, void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</td></tr>
<tr class="memdesc:a88248174bc0338fdc4c942e4e715a539"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个中断请求  <a href="class_c_ipc_server.html#a88248174bc0338fdc4c942e4e715a539">更多...</a><br /></td></tr>
<tr class="separator:a88248174bc0338fdc4c942e4e715a539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56ad501c3bf4a84f756b6bf98e8865e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#ae56ad501c3bf4a84f756b6bf98e8865e">Run_One</a> ()</td></tr>
<tr class="memdesc:ae56ad501c3bf4a84f756b6bf98e8865e"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行服务一次  <a href="class_c_ipc_server.html#ae56ad501c3bf4a84f756b6bf98e8865e">更多...</a><br /></td></tr>
<tr class="separator:ae56ad501c3bf4a84f756b6bf98e8865e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33f88801a6fb30b8bfd9f0fdc063b77f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a33f88801a6fb30b8bfd9f0fdc063b77f">Run</a> ()</td></tr>
<tr class="memdesc:a33f88801a6fb30b8bfd9f0fdc063b77f"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行服务  <a href="class_c_ipc_server.html#a33f88801a6fb30b8bfd9f0fdc063b77f">更多...</a><br /></td></tr>
<tr class="separator:a33f88801a6fb30b8bfd9f0fdc063b77f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62bb4a375227fe83a343e91c2851ee2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#ac62bb4a375227fe83a343e91c2851ee2">NotifyStop</a> ()</td></tr>
<tr class="memdesc:ac62bb4a375227fe83a343e91c2851ee2"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知服务停止  <a href="class_c_ipc_server.html#ac62bb4a375227fe83a343e91c2851ee2">更多...</a><br /></td></tr>
<tr class="separator:ac62bb4a375227fe83a343e91c2851ee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9629de28739f75f42c63550081b19520"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a9629de28739f75f42c63550081b19520">IsStop</a> () const</td></tr>
<tr class="memdesc:a9629de28739f75f42c63550081b19520"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断服务是否停止  <a href="class_c_ipc_server.html#a9629de28739f75f42c63550081b19520">更多...</a><br /></td></tr>
<tr class="separator:a9629de28739f75f42c63550081b19520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0101ecf81b0384a2f6180441890d9140"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a0101ecf81b0384a2f6180441890d9140">WaitServerStop</a> ()</td></tr>
<tr class="memdesc:a0101ecf81b0384a2f6180441890d9140"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知服务停止并等待  <a href="class_c_ipc_server.html#a0101ecf81b0384a2f6180441890d9140">更多...</a><br /></td></tr>
<tr class="separator:a0101ecf81b0384a2f6180441890d9140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec573dd038c82993f08ee14648d5f01e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_c_io_port_service.html">CIoPortService</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#aec573dd038c82993f08ee14648d5f01e">GetIoPortService</a> ()</td></tr>
<tr class="memdesc:aec573dd038c82993f08ee14648d5f01e"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回底层服务指针  <a href="class_c_ipc_server.html#aec573dd038c82993f08ee14648d5f01e">更多...</a><br /></td></tr>
<tr class="separator:aec573dd038c82993f08ee14648d5f01e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_ipc_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_ipc_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_c_ipc_base.html">CIpcBase</a></td></tr>
<tr class="memitem:a3d0fbbd0b1eb83422d5d141e8f471d00 inherit pub_methods_class_c_ipc_base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_base.html#a3d0fbbd0b1eb83422d5d141e8f471d00">CIpcBase</a> (bool isWriteLog)</td></tr>
<tr class="separator:a3d0fbbd0b1eb83422d5d141e8f471d00 inherit pub_methods_class_c_ipc_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d1f5c5683c4f034be7d47b3287c197d inherit pub_methods_class_c_ipc_base"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_base.html#a1d1f5c5683c4f034be7d47b3287c197d">~CIpcBase</a> ()</td></tr>
<tr class="separator:a1d1f5c5683c4f034be7d47b3287c197d inherit pub_methods_class_c_ipc_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_basic_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_basic_service')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_c_basic_service.html">CBasicService</a></td></tr>
<tr class="memitem:a73a67d340b0d83df8c02834ec89edc2b inherit pub_methods_class_c_basic_service"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_basic_service.html#a73a67d340b0d83df8c02834ec89edc2b">CBasicService</a> ()</td></tr>
<tr class="memdesc:a73a67d340b0d83df8c02834ec89edc2b inherit pub_methods_class_c_basic_service"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个服务基类对象  <a href="class_c_basic_service.html#a73a67d340b0d83df8c02834ec89edc2b">更多...</a><br /></td></tr>
<tr class="separator:a73a67d340b0d83df8c02834ec89edc2b inherit pub_methods_class_c_basic_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a772031ad3c140a387b8b1e4f7bc4bed5 inherit pub_methods_class_c_basic_service"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_basic_service.html#a772031ad3c140a387b8b1e4f7bc4bed5">~CBasicService</a> ()</td></tr>
<tr class="memdesc:a772031ad3c140a387b8b1e4f7bc4bed5 inherit pub_methods_class_c_basic_service"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁一个服务基类对象  <a href="class_c_basic_service.html#a772031ad3c140a387b8b1e4f7bc4bed5">更多...</a><br /></td></tr>
<tr class="separator:a772031ad3c140a387b8b1e4f7bc4bed5 inherit pub_methods_class_c_basic_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a2f68d998b1e4b755441ea2c6d1eab68b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a2f68d998b1e4b755441ea2c6d1eab68b">DelTimer</a> (<a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;timer)</td></tr>
<tr class="separator:a2f68d998b1e4b755441ea2c6d1eab68b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31a7557064b9a15ecf29f208528cf63f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a31a7557064b9a15ecf29f208528cf63f">UpdateTimer</a> (<a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;timer)</td></tr>
<tr class="separator:a31a7557064b9a15ecf29f208528cf63f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31bc1a0fb9e64d32cb57f27a088c8a5b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a31bc1a0fb9e64d32cb57f27a088c8a5b">SetTimer</a> (<a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;timer)</td></tr>
<tr class="separator:a31bc1a0fb9e64d32cb57f27a088c8a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_c_ipc_base"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_c_ipc_base')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_c_ipc_base.html">CIpcBase</a></td></tr>
<tr class="memitem:a5a5914d94853f219cf29fe2ac2f180bb inherit pro_methods_class_c_ipc_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_error.html">CSockError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_base.html#a5a5914d94853f219cf29fe2ac2f180bb">Init</a> (<a class="el" href="class_c_socket.html">CSocket</a> &amp;sock, bool isServer=false)</td></tr>
<tr class="memdesc:a5a5914d94853f219cf29fe2ac2f180bb inherit pro_methods_class_c_ipc_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化服务类函数  <a href="class_c_ipc_base.html#a5a5914d94853f219cf29fe2ac2f180bb">更多...</a><br /></td></tr>
<tr class="separator:a5a5914d94853f219cf29fe2ac2f180bb inherit pro_methods_class_c_ipc_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
静态 Protected 成员函数</h2></td></tr>
<tr class="memitem:a959278d613a745ec63d60bdf1480bbc8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a959278d613a745ec63d60bdf1480bbc8">IoCompleteFunc</a> (<a class="el" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a> *o)</td></tr>
<tr class="separator:a959278d613a745ec63d60bdf1480bbc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a5f1ad19ebfb68c081be2ee1358a3713a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a5f1ad19ebfb68c081be2ee1358a3713a">delete_class_copy_operator</a> (<a class="el" href="class_c_ipc_server.html">CIpcServer</a>)</td></tr>
<tr class="separator:a5f1ad19ebfb68c081be2ee1358a3713a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb29e983d85229dc1d64c751d69eb49e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#afb29e983d85229dc1d64c751d69eb49e">AsyncConnect</a> (<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;sock, const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;func, void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</td></tr>
<tr class="memdesc:afb29e983d85229dc1d64c751d69eb49e"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个连接请求  <a href="class_c_ipc_server.html#afb29e983d85229dc1d64c751d69eb49e">更多...</a><br /></td></tr>
<tr class="separator:afb29e983d85229dc1d64c751d69eb49e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a051d98b123da288b62b889650b25cfd2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_c_io_port_service.html">CIoPortService</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a051d98b123da288b62b889650b25cfd2">_service</a></td></tr>
<tr class="separator:a051d98b123da288b62b889650b25cfd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3516424d217f772b7db789a00a0e0eff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_ipc_server.html#a3516424d217f772b7db789a00a0e0eff">_svrSock</a></td></tr>
<tr class="separator:a3516424d217f772b7db789a00a0e0eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a> 第 <a class="el" href="_ipc_server_8h_source.html#l00010">10</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a887afeb1b4f43370624778e353cd6334"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a887afeb1b4f43370624778e353cd6334">&#9670;&nbsp;</a></span>CIpcServer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a> CIpcServer::CIpcServer </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isWriteLog</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<a id="a8ea46a0c695def5670ba92c0cd5ceea3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ea46a0c695def5670ba92c0cd5ceea3">&#9670;&nbsp;</a></span>~CIpcServer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CIpcServer::~CIpcServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a6efd34ab8eecc267c0ab2b0317091efd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6efd34ab8eecc267c0ab2b0317091efd">&#9670;&nbsp;</a></span>AsyncAccept()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::AsyncAccept </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>cliSock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>投递一个接收连接请求 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cliSock</td><td>待接收的套接字 </td></tr>
    <tr><td class="paramname">func</td><td>完成回调函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>上层用户数据 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a3f6f37ccec54ac0b786439aafc88a93e">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00059">59</a> 行定义.</p>

</div>
</div>
<a id="afb29e983d85229dc1d64c751d69eb49e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb29e983d85229dc1d64c751d69eb49e">&#9670;&nbsp;</a></span>AsyncConnect()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CIpcServer::AsyncConnect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>投递一个连接请求 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>待连接的套接字 </td></tr>
    <tr><td class="paramname">func</td><td>完成回调函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>上层用户数据 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a6c40054e6d91ce0525d74ac6abf49585">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a> 第 <a class="el" href="_ipc_server_8h_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
<a id="ab3190c4366dd9367b2c77d180ec1bf6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3190c4366dd9367b2c77d180ec1bf6c">&#9670;&nbsp;</a></span>AsyncRead()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::AsyncRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>投递一个接收请求 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>已连接的套接字 </td></tr>
    <tr><td class="paramname">buff</td><td>接收缓冲 </td></tr>
    <tr><td class="paramname">func</td><td>完成函数指针 </td></tr>
    <tr><td class="paramname">invoker</td><td>上层用户数据 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a7ac54eec0026aea52efa31afe9e6124a">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00071">71</a> 行定义.</p>

</div>
</div>
<a id="ac995cd72b148708616041968363efb12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac995cd72b148708616041968363efb12">&#9670;&nbsp;</a></span>AsyncSend()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::AsyncSend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_socket.html">CIpcSocket</a> &amp;&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a> &amp;&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>投递一个写请求 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>已连接的套接字 </td></tr>
    <tr><td class="paramname">buff</td><td>发送缓冲 </td></tr>
    <tr><td class="paramname">func</td><td>完成函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>上层用户数据 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a3bf5a3329bf79e2547174c91f4b08342">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00080">80</a> 行定义.</p>

</div>
</div>
<a id="a5f1ad19ebfb68c081be2ee1358a3713a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f1ad19ebfb68c081be2ee1358a3713a">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CIpcServer::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_ipc_server.html">CIpcServer</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2f68d998b1e4b755441ea2c6d1eab68b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f68d998b1e4b755441ea2c6d1eab68b">&#9670;&nbsp;</a></span>DelTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::DelTimer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;&#160;</td>
          <td class="paramname"><em>timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_ipc_base.html#a067d66da4f1b413903e1c4da964dcf16">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00129">129</a> 行定义.</p>

</div>
</div>
<a id="aec573dd038c82993f08ee14648d5f01e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec573dd038c82993f08ee14648d5f01e">&#9670;&nbsp;</a></span>GetIoPortService()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_io_port_service.html">CIoPortService</a> * CIpcServer::GetIoPortService </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回底层服务指针 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a27cae150a0f3f6b2d3f6a600a35d3e0b">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00124">124</a> 行定义.</p>

</div>
</div>
<a id="a98dd72100abc97f8c8ae5f4641e18587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98dd72100abc97f8c8ae5f4641e18587">&#9670;&nbsp;</a></span>Init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_sock_error.html">CSockError</a> CIpcServer::Init </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化服务器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>ipc通信名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回SUCC，失败返回相应错误码 </dd></dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#ac52a23a4bf71ef868a28297c5cdce72f">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a959278d613a745ec63d60bdf1480bbc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a959278d613a745ec63d60bdf1480bbc8">&#9670;&nbsp;</a></span>IoCompleteFunc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> CIpcServer::IoCompleteFunc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a> *&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00144">144</a> 行定义.</p>

</div>
</div>
<a id="a9629de28739f75f42c63550081b19520"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9629de28739f75f42c63550081b19520">&#9670;&nbsp;</a></span>IsStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcServer::IsStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断服务是否停止 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#ad0342ce18d24de46f86c99261ed44f8e">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00119">119</a> 行定义.</p>

</div>
</div>
<a id="ac62bb4a375227fe83a343e91c2851ee2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac62bb4a375227fe83a343e91c2851ee2">&#9670;&nbsp;</a></span>NotifyStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::NotifyStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通知服务停止 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a8a4af718a839d201a17b4d76c6771877">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00108">108</a> 行定义.</p>

</div>
</div>
<a id="a88248174bc0338fdc4c942e4e715a539"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88248174bc0338fdc4c942e4e715a539">&#9670;&nbsp;</a></span>Post()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::Post </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_handle_base.html">HandleBase</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>投递一个中断请求 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">func</td><td>完成回调处理函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>上层用户数据 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a20b14ba63abe4e4b2dfa480a6731bf6e">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00089">89</a> 行定义.</p>

</div>
</div>
<a id="a33f88801a6fb30b8bfd9f0fdc063b77f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33f88801a6fb30b8bfd9f0fdc063b77f">&#9670;&nbsp;</a></span>Run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcServer::Run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>运行服务 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a460752b53138378d7e150b8312232896">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00103">103</a> 行定义.</p>

</div>
</div>
<a id="ae56ad501c3bf4a84f756b6bf98e8865e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae56ad501c3bf4a84f756b6bf98e8865e">&#9670;&nbsp;</a></span>Run_One()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcServer::Run_One </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>运行服务一次 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a72e867483b13c9e3a046220994a914b7">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00098">98</a> 行定义.</p>

</div>
</div>
<a id="a31bc1a0fb9e64d32cb57f27a088c8a5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31bc1a0fb9e64d32cb57f27a088c8a5b">&#9670;&nbsp;</a></span>SetTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::SetTimer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;&#160;</td>
          <td class="paramname"><em>timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_ipc_base.html#a91e0f3a46b25f2d5fb3a635c5095a0e3">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00134">134</a> 行定义.</p>

</div>
</div>
<a id="a31a7557064b9a15ecf29f208528cf63f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31a7557064b9a15ecf29f208528cf63f">&#9670;&nbsp;</a></span>UpdateTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CIpcServer::UpdateTimer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_timer_base.html">CTimerBase</a> &amp;&#160;</td>
          <td class="paramname"><em>timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="class_c_ipc_base.html#afb7b94ece1b0621c027cceb46081262e">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00139">139</a> 行定义.</p>

</div>
</div>
<a id="a0101ecf81b0384a2f6180441890d9140"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0101ecf81b0384a2f6180441890d9140">&#9670;&nbsp;</a></span>WaitServerStop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CIpcServer::WaitServerStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通知服务停止并等待 </p>

<p>实现了 <a class="el" href="class_c_ipc_base.html#a96dec13698548235d67bd5d02863a4e0">CIpcBase</a>.</p>

<p class="definition">在文件 <a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a> 第 <a class="el" href="_ipc_server_8cpp_source.html#l00113">113</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a051d98b123da288b62b889650b25cfd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a051d98b123da288b62b889650b25cfd2">&#9670;&nbsp;</a></span>_service</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_c_io_port_service.html">CIoPortService</a>&gt; CIpcServer::_service</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a> 第 <a class="el" href="_ipc_server_8h_source.html#l00083">83</a> 行定义.</p>

</div>
</div>
<a id="a3516424d217f772b7db789a00a0e0eff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3516424d217f772b7db789a00a0e0eff">&#9670;&nbsp;</a></span>_svrSock</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_c_ipc_socket.html">CIpcSocket</a>&gt; CIpcServer::_svrSock</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a> 第 <a class="el" href="_ipc_server_8h_source.html#l00084">84</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/ipc/internal/<a class="el" href="_ipc_server_8h_source.html">IpcServer.h</a></li>
<li>H:/project/LibTools/src/ipc/internal/<a class="el" href="_ipc_server_8cpp_source.html">IpcServer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
